<%@ page contentType="text/html;charset=UTF-8" %>
<%@ taglib prefix="s" uri="/struts-tags" %>
<%
	String path = request.getContextPath();
	String basePath = request.getScheme() + "://"
			+ request.getServerName() + ":" + request.getServerPort()
			+ path + "/";
	boolean update = Boolean.valueOf(request.getParameter("update"));
%>
<html>
<head>
<base href="<%=basePath%>">
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
<title>绩效考核系统</title>
<link href="styles/Master.css" rel="stylesheet" type="text/css">

<script type="text/javascript" src="scripts/jquery/jquery.js"></script>
<script type="text/javascript" src="scripts/common.js"></script>
<script type="text/javascript" src="scripts/message.js"></script>
<script type="text/javascript" src="scripts/checkUtil.js"></script>

<script type="text/javascript" src="scripts/system/worker.js"></script>

<script type="text/javascript">
$(function() 
{
	if(!isEmptyStr($("#isSuccess").val()))
	{
		alert($("#isSuccess").val());
	}
});
</script>

</head>

<body>
<s:form name="workerForm" id="workerForm" action="job-addJob" namespace="/system" method="post">
	<s:hidden id="isSuccess" value="%{isSuccess}"></s:hidden>

	<h2 style="text-align: left">我的工作资料</h2>
	<hr width="100%" align="left" size="1" color="#E1EEF8">

	<table width="100%" border="0" cellpadding="0" cellspacing="0" class="tabHeader">
    	<tr>
			<td class="tdBg_right" width="10%" height="20px">编号：</td>
			<td align="left">
				<s:property value="worker.workerCode"/>
			</td>
			<td class="tdBg_right" width="10%" height="20px">姓名：</td>
			<td align="left">
				<s:property value="worker.workerName"/>
			</td>
		</tr>

		<tr>
			<td class="tdBg_right" width="10%" height="20px">性别：</td>
			<td align="left">
				<s:if test="worker.gender == \"M\"">男</s:if>
				<s:elseif test="worker.gender == \"F\"">女</s:elseif>
			</td>
			<td class="tdBg_right" width="10%" height="20px">出生日期：</td>
			<td align="left">
				<s:date name="worker.birthday" format="yyyy-MM-dd"/>
			</td>
		</tr>
		<tr>
			<td class="tdBg_right" width="10%" height="20px">身份证号：</td>
			<td align="left">
				<s:property value="worker.idCardNo"/>
			</td>
			<td class="tdBg_right" width="10%" height="20px">民族：</td>
			<td align="left">
				<s:property value="worker.nation"/>
			</td>
		</tr>
		<tr>
			<td class="tdBg_right" width="10%" height="20px">学历：</td>
			<td align="left">
				<s:property value="worker.education"/>
			</td>
			<td colspan="2"></td>
		</tr>
		<tr>
			<td class="tdBg_right" width="10%" height="20px">岗位：</td>
			<td align="left">
				<s:property value="worker.jobName"/>
			</td>
			<td class="tdBg_right" width="10%" height="20px">入职时间：</td>
			<td align="left">
				<s:date name="worker.employedDate" format="yyyy-MM-dd"/>
			</td>
		</tr>
	</table>
</s:form>

<div id="waiting" style="display: none;">
	<div id="background" class="background"></div>
	<div id="progressBar" class="progressBar">数据加载中，请稍等...</div>
</div>
</body>
</html>